/**
 * Created by xwy on 2018/1/17 0017 20:58.
 * User: 13720092498@163.com
 */

import Router from 'vue-router';
import login from '../components/home/login.vue'
import test from '../components/home/test.vue'
Vue.use(Router)

export default new Router({
    routes: [
        {
            path: '/',
            redirect: '/login'
        },
        {
            path: '/login',
            name: 'login',
            component: login
        },
        {
            path: '/test',
            name: 'test',
            component: test
        }
    ]
})
